package cn.readjava.dao;

import cn.readjava.bean.Article;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ArticleDao extends JpaRepository<Article, Long> {

    List<Article> findAllByArticleTypeId(Long id);

}
